--------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\wb614536\Downloads\replication\replication\code\../outputs/07b_CoefPlots_log.txt
  log type:  text
 opened on:  25 Jun 2026, 12:58:34
r; t=0.00 12:58:34

. 
. include "_OutcomeLabels.do"

. /*==============================================================================
>   _OutcomeLabels.do  (helper, not run on its own)
> 
>   Defines polished, publication-ready labels for every outcome that appears
>   in figures and tables. Labels use the macro pattern `lbl_<outcome>`.
>   Visualization do files `include` this file and reference `lbl_<outcome>`
>   to print a pretty label rather than the raw Stata variable name.
> 
>   Categorical/binary indicators are suffixed with "[=1]" so the reader sees
>   what a unit change means; counts and continuous variables get explicit
>   units; standardized indices are flagged "(SD)".
> 
>   Sandra Rozo
> ==============================================================================*/
. 
. * ---- Economic well-being -----------------------------------------------------
. local lbl_jeea_index_wellbeing  "Well-being index (SD)"
r; t=0.00 12:58:34

. local lbl_labour_income         "Log monthly labor income"
r; t=0.00 12:58:34

. local lbl_gasto_capita          "Log per-capita HH consumption"
r; t=0.00 12:58:34

. local lbl_income_maxhh          "Log HH-max labor income"
r; t=0.00 12:58:34

. local lbl_employed              "Employed [=1]"
r; t=0.00 12:58:34

. 
. * ---- Labor ------------------------------------------------------------------
. local lbl_jeea_index_labor      "Labor index (SD)"
r; t=0.00 12:58:34

. local lbl_formal                "Formal employment [=1]"
r; t=0.00 12:58:34

. local lbl_hora_semana           "Log weekly hours (salaried)"
r; t=0.00 12:58:34

. 
. * ---- Services and rights ----------------------------------------------------
. local lbl_jeea_index_services   "Services index (SD)"
r; t=0.00 12:58:34

. local lbl_sisben                "SISBEN registration [=1]"
r; t=0.00 12:58:34

. local lbl_subs                  "Subsidized health [=1]"
r; t=0.00 12:58:34

. local lbl_bank                  "Savings account [=1]"
r; t=0.00 12:58:34

. local lbl_has_bank_account      "Bank account (incl. savings) [=1]"
r; t=0.00 12:58:34

. local lbl_govtr                 "Govt. transfers [=1]"
r; t=0.00 12:58:34

. 
. * ---- Health -----------------------------------------------------------------
. local lbl_health_pca            "Health PCA index (SD)"
r; t=0.00 12:58:34

. local lbl_anx_depr              "Severe anxiety/depression [=1]"
r; t=0.00 12:58:34

. local lbl_any_anx_depr          "Any anxiety/depression [=1]"
r; t=0.00 12:58:34

. local lbl_vas_score             "Self-rated health (0-100)"
r; t=0.00 12:58:34

. local lbl_phys_problem          "Physical health problem [=1]"
r; t=0.00 12:58:34

. local lbl_chronic_illness       "Chronic illness [=1]"
r; t=0.00 12:58:34

. local lbl_mh_index              "Mental-health composite (SD)"
r; t=0.00 12:58:34

. local lbl_life_satisfaction     "Life satisfaction (0-10)"
r; t=0.00 12:58:34

. local lbl_hi5_inv               "EQ-5D anx/depr (5-low to 1-high)"
r; t=0.00 12:58:34

. 
. * ---- Food security ----------------------------------------------------------
. local lbl_index_food            "Food security index (SD)"
r; t=0.00 12:58:34

. local lbl_skip_meals            "Skipped meals last month [=1]"
r; t=0.00 12:58:34

. local lbl_went_without_food     "Went without food [=1]"
r; t=0.00 12:58:34

. local lbl_protein_days          "Days w/ protein (last week)"
r; t=0.00 12:58:34

. local lbl_food_insecure_seek    "Sought food assistance [=1]"
r; t=0.00 12:58:34

. 
. * ---- Housing ----------------------------------------------------------------
. local lbl_index_housing         "Housing quality index (SD)"
r; t=0.00 12:58:34

. local lbl_adequate_housing      "Adequate housing [=1]"
r; t=0.00 12:58:34

. local lbl_has_electricity       "Has electricity [=1]"
r; t=0.00 12:58:34

. local lbl_has_water             "Has running water [=1]"
r; t=0.00 12:58:34

. local lbl_has_sewage            "Has sewage [=1]"
r; t=0.00 12:58:34

. 
. * ---- Integration ------------------------------------------------------------
. local lbl_index_integration     "Integration index (SD)"
r; t=0.00 12:58:34

. local lbl_belonging             "Sense of belonging (1-4)"
r; t=0.00 12:58:34

. local lbl_feel_integrated       "Feels integrated (1-4)"
r; t=0.00 12:58:34

. local lbl_trust_col             "Trust in Colombians (out-group, 1-5)"
r; t=0.00 12:58:34

. local lbl_trust_ven             "Trust in Venezuelans (in-group, 1-5)"
r; t=0.00 12:58:34

. local lbl_general_trust         "General trust in people (1-5)"
r; t=0.00 12:58:34

. local lbl_venezuelans_help_me   "Venezuelans help me (1-5)"
r; t=0.00 12:58:34

. local lbl_trust_index           "Prosocial behaviors composite (SD)"
r; t=0.00 12:58:34

. local lbl_col_friends           "Number Colombian friends"
r; t=0.00 12:58:34

. local lbl_community_org         "Belongs to community org [=1]"
r; t=0.00 12:58:34

. local lbl_connection_colombia   "Strong connection to Colombia [=1]"
r; t=0.00 12:58:34

. local lbl_colombians_help_me    "Colombians help me (1-5)"
r; t=0.00 12:58:34

. local lbl_count_on_col          "Can count on Colombians (1-5)"
r; t=0.00 12:58:34

. 
. * ---- Discrimination ---------------------------------------------------------
. local lbl_index_discrim         "Discrimination index (SD)"
r; t=0.00 12:58:34

. local lbl_discrim_ever          "Ever discriminated against [=1]"
r; t=0.00 12:58:34

. local lbl_discrim_freq          "Discrimination frequency (1-5)"
r; t=0.00 12:58:34

. local lbl_filed_complaint       "Filed discrimination complaint [=1]"
r; t=0.00 12:58:34

. 
. * ---- Migration intentions ---------------------------------------------------
. local lbl_intend_stay           "Intends to stay in Colombia [=1]"
r; t=0.00 12:58:34

. local lbl_plan_stay_5yr         "Plans to stay 5+ years [=1]"
r; t=0.00 12:58:34

. local lbl_considered_return_ven "Considered returning to Venezuela [=1]"
r; t=0.00 12:58:34

. 
. * ---- COVID -----------------------------------------------------------------
. local lbl_index_covid           "COVID resilience index (SD)"
r; t=0.00 12:58:34

. local lbl_covid_income_down     "Income fell during COVID [=1]"
r; t=0.00 12:58:34

. local lbl_covid_eviction        "Faced eviction during COVID [=1]"
r; t=0.00 12:58:34

. local lbl_covid_received_aid    "Received COVID aid [=1]"
r; t=0.00 12:58:34

. 
. * ---- Education -------------------------------------------------------------
. local lbl_currently_studying    "Currently studying [=1]"
r; t=0.00 12:58:34

. local lbl_currently_enrolled    "Currently enrolled in school [=1]"
r; t=0.00 12:58:34

. local lbl_degree_validated      "Foreign degree validated [=1]"
r; t=0.00 12:58:34

. 
. * ---- Children --------------------------------------------------------------
. local lbl_child_skip_meals      "Child skipped meals [=1]"
r; t=0.00 12:58:34

. local lbl_child_vaccinated      "Child vaccinated [=1]"
r; t=0.00 12:58:34

. local lbl_child_worked          "Child worked [=1]"
r; t=0.00 12:58:34

. 
. * ---- Remittances -----------------------------------------------------------
. local lbl_index_remit           "Remittances index (SD)"
r; t=0.00 12:58:34

. local lbl_remit_now             "Sends remittances now [=1]"
r; t=0.00 12:58:34

. local lbl_remit_to_parents      "Remits to parents [=1]"
r; t=0.00 12:58:34

. 
. * ---- Financial access and digital ------------------------------------------
. local lbl_index_fin_access      "Financial access index (SD)"
r; t=0.00 12:58:34

. local lbl_index_digital         "Digital access index (SD)"
r; t=0.00 12:58:34

. local lbl_has_savings_account   "Has savings account [=1]"
r; t=0.00 12:58:34

. local lbl_has_mobile_money      "Has mobile money [=1]"
r; t=0.00 12:58:34

. local lbl_has_smartphone        "Has smartphone [=1]"
r; t=0.00 12:58:34

. local lbl_has_internet          "Has internet [=1]"
r; t=0.00 12:58:34

. local lbl_apps_whatsapp         "Uses WhatsApp [=1]"
r; t=0.00 12:58:34

. 
. * ============================================================================
. *  PREDETERMINED COVARIATES (used for balance tests and as RD controls)
. * ============================================================================
. 
. * ---- Demographics ----------------------------------------------------------
. local lbl_female                "Female [=1]"
r; t=0.00 12:58:34

. local lbl_age_panel             "Age (years)"
r; t=0.00 12:58:34

. local lbl_yrseduc               "Years of education"
r; t=0.00 12:58:34

. local lbl_time_col              "Years in Colombia"
r; t=0.00 12:58:34

. local lbl_child_venez           "Has child born in Venezuela [=1]"
r; t=0.00 12:58:34

. 
. * ---- Pre-migration economic conditions (in Venezuela) ----------------------
. local lbl_jobopp                "Had a job offer in Colombia [=1]"
r; t=0.00 12:58:34

. local lbl_labven                "Worked in Venezuela [=1]"
r; t=0.00 12:58:34

. local lbl_typeworkven1          "Worked in agric./manual (VZ) [=1]"
r; t=0.00 12:58:34

. local lbl_typeworkven2          "Worked in services (VZ) [=1]"
r; t=0.00 12:58:34

. local lbl_typeworkven3          "Worked in skilled occ. (VZ) [=1]"
r; t=0.00 12:58:34

. local lbl_written_cont          "Had written contract (VZ) [=1]"
r; t=0.00 12:58:34

. local lbl_average               "Avg. days worked / week (VZ)"
r; t=0.00 12:58:34

. local lbl_smartven              "Owned smartphone in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_owner                 "Homeowner in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_electven              "Had electricity in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_waterven              "Had running water in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_sewageven             "Had sewage in VZ [=1]"
r; t=0.00 12:58:34

. 
. * ---- Family / migration network -------------------------------------------
. local lbl_hhven_parents         "Parents born in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_hhven_spouse          "Spouse born in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_hhven_other           "Other HH members born in VZ [=1]"
r; t=0.00 12:58:34

. local lbl_healthmig             "Healthy at migration [=1]"
r; t=0.00 12:58:34

. local lbl_frdfam                "Network in Colombia [=1]"
r; t=0.00 12:58:34

. r; t=0.01 12:58:34

. 
. /*==============================================================================
>   PART 1: READ RESULTS
> ==============================================================================*/
. 
. import delimited "$out/07_RD_W1_W2_results.txt", clear delimiter(tab) ///
>     varnames(1) stringcols(_all)
(encoding automatically selected: ISO-8859-1)
(14 vars, 260 obs)
r; t=0.15 12:58:34

. 
. * Filter to with-controls spec
. keep if spec == "with_ctrls"
(130 observations deleted)
r; t=0.00 12:58:34

. 
. * Convert numeric columns
. destring coef se p n_eff, replace force
coef: all characters numeric; replaced as double
(3 missing values generated)
se: all characters numeric; replaced as double
(3 missing values generated)
p: all characters numeric; replaced as double
(4 missing values generated)
n_eff: all characters numeric; replaced as int
(3 missing values generated)
r; t=0.03 12:58:34

. 
. di "  W1 estimates: " _N
  W1 estimates: 130
r; t=0.00 12:58:34

. * Build a wide table: one row per outcome with W1 and W2 columns
. gen w1_b  = coef if wave == "W1"
(67 missing values generated)
r; t=0.00 12:58:34

. gen w1_se = se   if wave == "W1"
(67 missing values generated)
r; t=0.00 12:58:34

. gen w1_p  = p    if wave == "W1"
(67 missing values generated)
r; t=0.00 12:58:34

. gen w2_b  = coef if wave == "W2"
(66 missing values generated)
r; t=0.00 12:58:34

. gen w2_se = se   if wave == "W2"
(66 missing values generated)
r; t=0.00 12:58:34

. gen w2_p  = p    if wave == "W2"
(67 missing values generated)
r; t=0.00 12:58:34

. collapse (firstnm) w1_b w1_se w1_p w2_b w2_se w2_p treatment, by(outcome)
r; t=0.01 12:58:34

. 
. gen w1_lb = w1_b - 1.96 * w1_se
(2 missing values generated)
r; t=0.00 12:58:34

. gen w1_ub = w1_b + 1.96 * w1_se
(2 missing values generated)
r; t=0.00 12:58:34

. gen w2_lb = w2_b - 1.96 * w2_se
(1 missing value generated)
r; t=0.00 12:58:34

. gen w2_ub = w2_b + 1.96 * w2_se
(1 missing value generated)
r; t=0.00 12:58:34

. 
. tempfile pooled
r; t=0.00 12:58:34

. save `pooled'
file C:\Users\wb614536\AppData\Local\Temp\ST_7cc4_000001.tmp saved as .dta format
r; t=0.00 12:58:34

. 
. /*==============================================================================
>   PART 2: HELPER — build coefplot for a list of outcomes
> ==============================================================================*/
. 
. capture program drop _coefplot
r; t=0.00 12:58:34

. program define _coefplot
  1.     args theme outvars title
  2.     use `1', clear
  3.     keep if inlist(outcome, ///
>         "`: word 1 of `outvars''", ///
>         "`: word 2 of `outvars''", ///
>         "`: word 3 of `outvars''", ///
>         "`: word 4 of `outvars''", ///
>         "`: word 5 of `outvars''", ///
>         "`: word 6 of `outvars''", ///
>         "`: word 7 of `outvars''", ///
>         "`: word 8 of `outvars''")
  4. end
r; t=0.00 12:58:34

. 
. * Simpler approach inline — load full table and filter by `inlist(outcome, ...)`
. 
. /*==============================================================================
>   PART 3: GROUP-BY-THEME COEFFICIENT PLOTS
> ==============================================================================*/
. 
. local themes economic services health food housing integration ///
>              discrim covid education migration remittance digital
r; t=0.00 12:58:34

. local title_economic    "Economic well-being"
r; t=0.00 12:58:34

. local title_services    "Services and rights"
r; t=0.00 12:58:34

. local title_health      "Health"
r; t=0.00 12:58:34

. local title_food        "Food security"
r; t=0.00 12:58:34

. local title_housing     "Housing"
r; t=0.00 12:58:34

. local title_integration "Integration and trust"
r; t=0.00 12:58:34

. local title_discrim     "Discrimination"
r; t=0.00 12:58:34

. local title_covid       "COVID impacts"
r; t=0.00 12:58:34

. local title_education   "Education"
r; t=0.00 12:58:34

. local title_migration   "Migration intentions"
r; t=0.00 12:58:34

. local title_remittance  "Remittances"
r; t=0.00 12:58:34

. local title_digital     "Financial access and digital"
r; t=0.00 12:58:34

. 
. local out_economic    jeea_index_wellbeing labour_income gasto_capita income_maxhh employed
r; t=0.00 12:58:34

. local out_services    jeea_index_services sisben subs bank govtr
r; t=0.00 12:58:34

. local out_health      health_pca anx_depr
r; t=0.00 12:58:34

. local out_food        index_food skip_meals went_without_food protein_days food_insecure_seek
r; t=0.00 12:58:34

. local out_housing     index_housing adequate_housing has_electricity has_water has_sewage
r; t=0.00 12:58:34

. local out_integration index_integration belonging feel_integrated trust_col col_friends community_org connection_c
> olombia
r; t=0.00 12:58:34

. local out_discrim     index_discrim discrim_ever discrim_freq filed_complaint
r; t=0.00 12:58:34

. local out_covid       index_covid covid_income_down covid_eviction covid_received_aid
r; t=0.00 12:58:34

. local out_education   currently_studying currently_enrolled degree_validated
r; t=0.00 12:58:34

. local out_migration   intend_stay plan_stay_5yr considered_return_ven
r; t=0.00 12:58:34

. local out_remittance  index_remit remit_now remit_to_parents
r; t=0.00 12:58:34

. local out_digital     index_fin_access index_digital has_savings_account has_mobile_money has_smartphone has_inter
> net apps_whatsapp
r; t=0.00 12:58:34

. 
. foreach theme of local themes {
  2.     local title "`title_`theme''"
  3.     local outvars `out_`theme''
  4. 
.     use `pooled', clear
  5. 
.     * Filter to outcomes in this theme, preserving order
.     gen ord = .
  6.     local ic = 0
  7.     foreach v of local outvars {
  8.         local ++ic
  9.         replace ord = `ic' if outcome == "`v'"
 10.     }
 11.     keep if !missing(ord)
 12.     sort ord
 13. 
.     if _N == 0 {
 14.         di "  No outcomes for theme `theme'; skipping."
 15.         continue
 16.     }
 17. 
.     * y positions: reverse so first variable is on top
.     gen yorder = _N - _n + 1
 18.     gen w1_y = yorder + 0.18
 19.     gen w2_y = yorder - 0.18
 20. 
.     * Build y-axis label string using polished labels from _OutcomeLabels.do
.     local ylabel ""
 21.     forvalues r = 1/`=_N' {
 22.         local nm   = outcome[`r']
 23.         local pos  = _N - `r' + 1
 24.         local pretty "`lbl_`nm''"
 25.         if "`pretty'" == "" local pretty "`nm'"
 26.         local ylabel `"`ylabel' `pos' "`pretty'""'
 27.     }
 28. 
.     twoway ///
>         (rcap w1_lb w1_ub w1_y if !missing(w1_b), horizontal lcolor(navy)      lwidth(medthin)) ///
>         (scatter w1_y w1_b if !missing(w1_b), msymbol(O) mcolor(navy) mfcolor(white)         msize(medlarge)) ///
>         (rcap w2_lb w2_ub w2_y if !missing(w2_b), horizontal lcolor(cranberry) lwidth(medthin)) ///
>         (scatter w2_y w2_b if !missing(w2_b), msymbol(S) mcolor(cranberry) mfcolor(cranberry) msize(medlarge)) ///
>         , xline(0, lcolor(gs8) lpattern(solid) lwidth(thin)) ///
>           ylabel(`ylabel', labsize(small) angle(0) nogrid notick) ///
>           yscale(noline) ///
>           xlabel(, labsize(small) nogrid notick) ///
>           xscale(noline) ///
>           ytitle("") ///
>           xtitle("Fuzzy RD coefficient", size(small) margin(small)) ///
>           legend(order(2 "Wave 1 (2020)" 4 "Wave 2 (2021)") rows(1) position(6) ///
>                  region(fcolor(white) lcolor(black) lwidth(thin)) size(small)) ///
>           title("`title'", size(medium) color(black) margin(b=2)) ///
>           note("Notes: Fuzzy RD coefficients (rdrobust, MSE-optimal bw, triangular kernel, JEEA controls)." ///
>                "Markers are point estimates; horizontal bars are 95% CIs. Indices are standardized to" ///
>                "the within-wave control mean and SD ('SD'); '[=1]' denotes binary indicators." ///
>                "Treatment is individual PEP for individual outcomes and household PEP for HH outcomes.", ///
>                size(vsmall) color(black) span) ///
>           graphregion(color(white) margin(small)) ///
>           plotregion(fcolor(white) lcolor(black) lwidth(thin) margin(small)) ///
>           bgcolor(white) ///
>           ysize(5) xsize(7) ///
>           name(cp_`theme', replace)
 29. 
.     graph export "$figs/coef_`theme'.png", replace width(1400)
 30.     graph drop cp_`theme'
 31.     di "  coef_`theme'.png saved (`=_N' outcomes)"
 32. }
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(60 observations deleted)
(file ../outputs/figures_coefplot/coef_economic.png not found)
file ../outputs/figures_coefplot/coef_economic.png saved as PNG format
  coef_economic.png saved (5 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(0 real changes made)
(1 real change made)
(61 observations deleted)
(file ../outputs/figures_coefplot/coef_services.png not found)
file ../outputs/figures_coefplot/coef_services.png saved as PNG format
  coef_services.png saved (4 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(63 observations deleted)
(file ../outputs/figures_coefplot/coef_health.png not found)
file ../outputs/figures_coefplot/coef_health.png saved as PNG format
  coef_health.png saved (2 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(60 observations deleted)
(file ../outputs/figures_coefplot/coef_food.png not found)
file ../outputs/figures_coefplot/coef_food.png saved as PNG format
  coef_food.png saved (5 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(60 observations deleted)
(file ../outputs/figures_coefplot/coef_housing.png not found)
file ../outputs/figures_coefplot/coef_housing.png saved as PNG format
  coef_housing.png saved (5 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(58 observations deleted)
(file ../outputs/figures_coefplot/coef_integration.png not found)
file ../outputs/figures_coefplot/coef_integration.png saved as PNG format
  coef_integration.png saved (7 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(61 observations deleted)
(file ../outputs/figures_coefplot/coef_discrim.png not found)
file ../outputs/figures_coefplot/coef_discrim.png saved as PNG format
  coef_discrim.png saved (4 outcomes)
(65 missing values generated)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(65 observations deleted)
  No outcomes for theme covid; skipping.
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(62 observations deleted)
(file ../outputs/figures_coefplot/coef_education.png not found)
file ../outputs/figures_coefplot/coef_education.png saved as PNG format
  coef_education.png saved (3 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(62 observations deleted)
(file ../outputs/figures_coefplot/coef_migration.png not found)
file ../outputs/figures_coefplot/coef_migration.png saved as PNG format
  coef_migration.png saved (3 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(62 observations deleted)
(file ../outputs/figures_coefplot/coef_remittance.png not found)
file ../outputs/figures_coefplot/coef_remittance.png saved as PNG format
  coef_remittance.png saved (3 outcomes)
(65 missing values generated)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(1 real change made)
(58 observations deleted)
(file ../outputs/figures_coefplot/coef_digital.png not found)
file ../outputs/figures_coefplot/coef_digital.png saved as PNG format
  coef_digital.png saved (7 outcomes)
r; t=13.18 12:58:47

. 
. /*==============================================================================
>   PART 4: BUILD PDF
> ==============================================================================*/
. 
. putpdf clear
r; t=0.05 12:58:47

. putpdf begin, pagesize(letter) margin(left, 0.7in) margin(right, 0.7in)
r; t=0.02 12:58:47

. putpdf paragraph, halign(center)
r; t=0.02 12:58:47

. putpdf text ("Coefficient Plots — Wave 1 (2020) vs Wave 2 (2021)"), bold font(, 16)
r; t=0.01 12:58:47

. putpdf paragraph, halign(center)
r; t=0.04 12:58:48

. putpdf text ("Fuzzy RD at the RAMV cutoff with JEEA controls. Generated $S_DATE."), italic
r; t=0.00 12:58:48

. 
. putpdf paragraph
r; t=0.00 12:58:48

. putpdf text ("Reading the plots: each panel groups outcomes that share a substantive theme. Hollow circles are Wav
> e 1 (2020, short-run) point estimates and filled squares are Wave 2 (2021, medium-run) estimates, both from rdrobu
> st at the MSE-optimal bandwidth with triangular kernel and JEEA controls. Horizontal bars span 95% confidence inte
> rvals. Indices are standardized to the within-wave control mean and standard deviation; '[=1]' denotes a binary in
> dicator (so the coefficient is the percentage-point change in the probability of the outcome)."), italic font(, 10
> )
r; t=0.00 12:58:48

. 
. foreach theme of local themes {
  2.     capture confirm file "$figs/coef_`theme'.png"
  3.     if !_rc {
  4.         putpdf paragraph
  5.         putpdf text ("`title_`theme''"), bold font(, 12)
  6.         putpdf paragraph, halign(center)
  7.         putpdf image "$figs/coef_`theme'.png", width(6)
  8.     }
  9. }
r; t=0.13 12:58:48

. 
. putpdf save "$out/07b_CoefPlots.pdf", replace
successfully created "C:/Users/wb614536/Downloads/replication/replication/outputs/07b_CoefPlots.pdf"
r; t=0.27 12:58:48

. 
. di ""

r; t=0.00 12:58:48

. di "  PDF saved:  $out/07b_CoefPlots.pdf"
  PDF saved:  ../outputs/07b_CoefPlots.pdf
r; t=0.00 12:58:48

. di "  Figures:    $figs/coef_*.png"
  Figures:    ../outputs/figures_coefplot/coef_*.png
r; t=0.00 12:58:48

. di "  Done."
  Done.
r; t=0.00 12:58:48

. 
. log close
      name:  <unnamed>
       log:  C:\Users\wb614536\Downloads\replication\replication\code\../outputs/07b_CoefPlots_log.txt
  log type:  text
 closed on:  25 Jun 2026, 12:58:48
--------------------------------------------------------------------------------------------------------------------
